package com.ddq.springboot_mongodb.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * @author ：Dongdequan
 * @date ：Created in 2022/4/1 15:58
 * @modified By：
 */
@Data
public class User {

    @Id
    private String id;
    private String username;
    private String password;
    private String address;
    private String[] tags;
}
